package com.itheima.movement.service;

import com.itheima.entity.dto.MovementDto;
import com.itheima.entity.vo.MovementVo;
import com.itheima.entity.vo.PagingQueryVo;

import java.io.IOException;
import java.util.List;

/**
 * @author :wujunjie
 * createTime :2022-12-22 15:42
 * description :
 */
public interface MovementService {

    Boolean insertMovement(MovementDto movementDto) throws Exception;

    PagingQueryVo<MovementVo> selectAllMovement(Integer type,Integer page, Integer pageSize);

    Boolean deleteMovement(String id);

    Boolean updateMovement(MovementDto movementDto);
}
